import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/global.css'
import '@/utils/element.js'
import dayjs from 'dayjs'

Vue.config.productionTip = false

Vue.filter('dataFormat', (v) => {
  return dayjs(v).format('YYYY-MM-DD HH:mm:ss')
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
